NuclearEngagement\Core\ErrorHandler A

Total Complexity 69
Dependencies 7
Dependents 4
Total lines 544
Lines of code 272
Logical lines of code 137
Comment lines 143
Methods 26
Properties 3

Methods 26

Method Rating Maintainability Complexity Lines of code
map_php_error_severity()
A
57 10 18
categorize_exception()
S
58 7 14
categorize_php_error()
S
60 7 12
cleanup_old_error_tracking()
S
53 5 24
handle_error()
S
56 4 18
attempt_recovery()
S
62 4 13
handle_fatal_error()
S
61 3 11
handle_wp_die()
S
59 2 16
handle_security_event()
S
67 3 7
map_exception_severity()
S
67 3 9
log_error()
S
60 2 14
track_error()
S
60 2 13
redact_context_data()
S
64 2 11
create_error_context()
S
55 1 21
should_rate_limit()
S
62 2 10
redact_sensitive_data()
S
70 2 6
handle_php_error()
S
62 1 11
handle_exception()
S
62 1 11
init()
S
66 1 8
attempt_database_recovery()
S
89 1 2
attempt_network_recovery()
S
89 1 2
attempt_resource_recovery()
S
89 1 2
get_error_type_name()
S
65 1 9
get_client_ip()
S
80 1 3
is_suspicious_activity()
S
81 1 3
write_to_error_log()
S
74 1 4